import matplotlib.pyplot as plt
#
# # Data
# years = ["2018", "2019", "2020", "2021", "2022"]
# market_size = [10.1, 14.69, 22.59, 34.87, 62.5]
#
# # Create the plot
# plt.figure(figsize=(10, 6))
# plt.plot(years, market_size, marker='o', linestyle='-', color='b')
#
# # Adding titles and labels
# plt.title("Global AI Software Market Size (2018-2022)")
# plt.xlabel("Year")
# plt.ylabel("Market Size (in billion USD)")
# plt.grid(True)
#
# # Display the plot
# plt.show()


##qwen-max-0403产生的代码

import matplotlib.pyplot as plt
# AI software market size data
years = ['2018', '2019', '2020', '2021', '2022', '2023', '2024', '2025']
market_sizes = [10.1, 14.69, 22.59, 34.87, 51.27, 70.94, 94.41, 126]
# Create the line chart
plt.plot(years, market_sizes, marker='o')
plt.xlabel('Year')
plt.ylabel('Market Size (Billions USD)')
plt.title('AI Software Market Size (2018-2025)')
plt.grid(True)
# Show the chart
plt.show()